package com.example.pharmacypick.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * 药品
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Drug {
    private int drugNum;
    private String drugName;
    private String drugFactory;
    private String drugSize;
    private Double drugPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date drugCreateTime;
    private String drugDuration;
    private int drugStock;
    private int drugCategory;

    private Category category;
}
//drug_num
//drug_name
//drug_factory
//drug_size
//drug_price
//drug_createtime
//drug_duration
//drug_stock
//drug_category
